package cn.ztydata.teachingsystem.heaven.web.dto.exercise;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 填空答案Dto
 * Created by wyh on 2015/2/4.
 */
public class BlankSolutionDto {
    private String textContent;//文本答案（评分用）

    @NotEmpty(message = "答案不能为空")
    private String htmlSolution;//html答案（前端显示公式用，不含公式为""）

    private Integer rightStatus; //正确状态，0：错误，1：正确

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public String getHtmlSolution() {
        return htmlSolution;
    }

    public void setHtmlSolution(String htmlSolution) {
        this.htmlSolution = htmlSolution;
    }

    public Integer getRightStatus() {
        return rightStatus;
    }

    public void setRightStatus(Integer rightStatus) {
        this.rightStatus = rightStatus;
    }
}
